package team.yidong.fenda.service;

import com.qiniu.util.Json;
import net.sf.json.JSONArray;
import net.sf.json.JSONNull;
import org.springframework.stereotype.Service;
import team.yidong.fenda.entity.HospitalDepartment;

import java.util.List;

/**
 * Created by xuanlong on 2018/3/17.
 */
@Service
public interface HospitalDepartmentService {
    JSONArray findHospitalDepartment(Integer hospitalId);

    JSONArray findAll(String hospitalName);

    void addHospitalDepartment(String hospitalName, String departmentName);

    JSONArray findAllDepartment();

    JSONArray findByHospitalName(String hospitalName);
}
